﻿@page "/datagrid-odata"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>OData</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Use the <code>LoadData</code> event to get data from a REST service.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the Employees are loaded from an OData service with the <strong>Title</strong> and <strong>Customers</strong> columns using multi-select dropdown filters with <code>FilterTemplate</code> to query related data from the server.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridOData" Heading="false" AdditionalSourceCodePages="@(new [] {"/demos/Services/NorthwindODataService.cs"})" Documentation="false">
    <DataGridOData />
</RadzenExample>
